tickTime=2000
initLimit=50
syncLimit=20 
clientPort=2181
maxClientCnxns=2000
dataDir=data_dir
dataLogDir=data_log_dir

{% for server in zookeeper_hosts %}
{% if server.host is defined %}
{% if server.ip is defined %}
server.{{server.id}}={{server.ip}}:2888:3888
{% else %}
server.{{server.id}}={{server.host}}:2888:3888
{% endif %}
{% else %}
server.{{loop.index}}={{server}}:2888:3888
{% endif %}
{% endfor %}
